package com.weipai.springboot.module.dao;

import com.weipai.springboot.model.Brand;

import java.util.List;

/**
 * @Author: 曹朋飞
 * @Date: 2018/09/14 14:14
 */
public interface BrandDao {
    int insert(Brand brand);

    Brand getBrandById(String brandId);

    List<Brand> selectAllByBrandDel(int brandDel, String search, String sort, String way);

    int updateByPrimaryKey(Brand brand);

    int updateStatus(String brandId, Integer status);

    int batchDeleteById(String[] id);

    List<Brand> getBrandByProCateId(String productCategoryId);

    List<Brand> getHotBrand();
}
